@import '~antd/es/style/themes/default.less';
@import './utils/utils.less';
.cameraContainer{
  height: calc(100VH - 96px);
  flex: 1;
}
.camera{
  display: flex;
  background: red;
  flex: 1;
  height: 100%;
  .cameraList{
    width: 200px;
    height: 100%;
    background: white;
    .cameraListTitle{
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 10px;
      padding-left: 10px;
    }
  }
  .cameraGirdLayout{
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    .cameraGirdTitle{
      width: 100%;
      height:100%;
      display: flex;
      flex-direction: column;
      background-color: slategrey;
      .cameraGirdTitleRight{
        margin-left:auto;
        background-color: black;
        margin-right: 50px;
        .cameraGirdImg{
          width: 30px;
          height: 30px;
          margin: 10px 5px;
          cursor: pointer;
        }
      }
    }
    .cameraGird{
      flex: 1;
      flex-grow: 1;
      height: 100%;
      display: flex;
      flex-wrap: wrap;
      padding: 0;
      .item{
        height:100%;
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.21);
        cursor: pointer;
        background-color: black;
        width: 100%;
        height: 100%;
        position: relative;
        .videoClose{
          position: absolute;
          right: 10px;
          top:  10px;
          width: 20px;
          height: 20px;
        }
      }
      .active{
        border: 1px solid #2eabff;
      }
      .grid_1{
        width: 100%;
        height: 100%;
      }
      .grid_4{
        width: calc(100% / 2);
        height: calc(100% / 2);
      }
      .grid_9{
        width: calc(100% / 3);
        height: calc(100% / 3);
      }
    }
  }
  .camera_menu{
    text-align: left;
    padding-left: 5px !important;
  }
  .messageContent{
    text-align: left !important;
    background-color: red;
    display: flex;
    flex-direction: row;
    .messageHeader{
      display: flex;
    }
  }
}
.videoContent{
  background-color: black;
  width: 100%;
  height: 100%;
  position: relative;
  .videoClose{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 5px;
    top: 5px;
  }
}


